import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CasePageModule, CasePageRouterModule } from '../../business/case-page/api';
import { TypeModule } from './type/type.module';
import { IconButtonModule } from './icon-button/icon-button.module';
import { Demo3Module } from './demo3/demo3.module';
import { SizeModule } from './size/size.module';
import { DisabledModule } from './disabled/disabled.module';
import { LoadingModule } from './loading/loading.module';
import { DangerModule } from './danger/danger.module';
import { MenuButtonModule } from './menu-button/menu-button.module';
import { AllButtonModule } from './all-button/all-button.module';

const ComponentModules = [
  TypeModule,
  IconButtonModule,
  Demo3Module,
  SizeModule,
  DisabledModule,
  LoadingModule,
  DangerModule,
  MenuButtonModule,
  AllButtonModule,
];

@NgModule({
  imports: [CommonModule, CasePageModule, CasePageRouterModule, FormsModule, ...ComponentModules],
})
export class ButtonDemoModule {}
